package com.topisv.tms.service.lightShelf;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.lightShelf.LightShelfStock;
import com.topisv.tms.repository.lightShelf.LightShelfStockDao;

/**
 * 灯光架位_service
 * 
 * @author ch
 * 
 */
@Component
@Transactional(readOnly = true)
public class LightShelfStockService {

	@Autowired
	private LightShelfStockDao lightShelfStockDao;

	/**
	 * 查询灯光架位
	 * @param shelfId 灯光架ID
	 * @return
	 */
	public List<LightShelfStock> loadStock(Long shelfId) {
		return this.lightShelfStockDao.loadStock(shelfId);
	}



}